package com.gopay.common.domain.cloud;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 云账户二级商户企业证书及账户类型辅助类
 * 
 * @ClassName: CloudCustCorpCert
 * @Description: 保存了云账户二级商户企业证书保存地址及账户类型等信息
 * @author jiaoshuai
 * @date 2016年10月9日 下午1:52:09
 */
@Entity
@Table(name = "CLOUD_CUST_CORP_CERT_INFO")
public class CloudCustCorpCert extends BaseEntity {

    private static final long serialVersionUID = 8646416340966273936L;

    /**
     * 客户ID(对应CUST_CORP_INFO表的主键)
     */
    private String custId;

    /**
     * 企业类型（0:个体工商户;1:三证合一企业;2:五证企业;）
     */
    private String custType;

    /**
     * 营业执照
     */
    private String businessLicense;

    /**
     * 营业执照缩略图保存地址
     */
    private String businessLicenseThumb;

    /**
     * 税务登记证
     */
    private String taxRegCert;

    /**
     * 税务登记证缩略图保存地址
     */
    private String taxRegCertThumb;

    /**
     * 组织机构代码证
     */
    private String orgCodeCert;

    /**
     * 组织机构代码证缩略图保存地址
     */
    private String orgCodeCertThumb;

    /**
     * 银行开户许可证
     */
    private String bankRegPerCert;

    /**
     * 银行开户许可证缩略图保存地址
     */
    private String bankRegPerCertThumb;

    /**
     * 身份证正面
     */
    private String positiveIDCard;

    /**
     * 身份证正面缩略图保存地址
     */
    private String positiveIDCardThumb;

    /**
     * 身份证反面
     */
    private String negativeIDCard;

    /**
     * 身份证反面缩略图保存地址
     */
    private String negativeIDCardThumb;

    /**
     * 统一社会信用代码(Uniform social credit code)
     */
    private String usccCert;

    /**
     * 统一社会信用代码缩略图保存地址
     */
    private String usccCertThumb;


    @Id
    @Column(name = "CUST_ID", unique = true, nullable = false, length = 10)
    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    @Column(name = "CUST_TYPE", nullable = false, length = 1)
    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType;
    }

    @Column(name = "BUSINESS_LICENSE", length = 500)
    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    @Column(name = "BUSINESS_LICENSE_THUMB", length = 500)
    public String getBusinessLicenseThumb() {
        return businessLicenseThumb;
    }

    public void setBusinessLicenseThumb(String businessLicenseThumb) {
        this.businessLicenseThumb = businessLicenseThumb;
    }

    @Column(name = "TAX_REG_CERT", length = 500)
    public String getTaxRegCert() {
        return taxRegCert;
    }

    public void setTaxRegCert(String taxRegCert) {
        this.taxRegCert = taxRegCert;
    }

    @Column(name = "TAX_REG_CERT_THUMB", length = 500)
    public String getTaxRegCertThumb() {
        return taxRegCertThumb;
    }

    public void setTaxRegCertThumb(String taxRegCertThumb) {
        this.taxRegCertThumb = taxRegCertThumb;
    }

    @Column(name = "ORG_CODE_CERT", length = 500)
    public String getOrgCodeCert() {
        return orgCodeCert;
    }

    public void setOrgCodeCert(String orgCodeCert) {
        this.orgCodeCert = orgCodeCert;
    }

    @Column(name = "ORG_CODE_CERT_THUMB", length = 500)
    public String getOrgCodeCertThumb() {
        return orgCodeCertThumb;
    }

    public void setOrgCodeCertThumb(String orgCodeCertThumb) {
        this.orgCodeCertThumb = orgCodeCertThumb;
    }

    @Column(name = "BANK_REG_PER_CERT", length = 500)
    public String getBankRegPerCert() {
        return bankRegPerCert;
    }

    public void setBankRegPerCert(String bankRegPerCert) {
        this.bankRegPerCert = bankRegPerCert;
    }

    @Column(name = "BANK_REG_PER_CERT_THUMB", length = 500)
    public String getBankRegPerCertThumb() {
        return bankRegPerCertThumb;
    }

    public void setBankRegPerCertThumb(String bankRegPerCertThumb) {
        this.bankRegPerCertThumb = bankRegPerCertThumb;
    }

    @Column(name = "POSITIVE_ID_CARD", length = 500)
    public String getPositiveIDCard() {
        return positiveIDCard;
    }

    public void setPositiveIDCard(String positiveIDCard) {
        this.positiveIDCard = positiveIDCard;
    }

    @Column(name = "POSITIVE_ID_CARD_THUMB", length = 500)
    public String getPositiveIDCardThumb() {
        return positiveIDCardThumb;
    }

    public void setPositiveIDCardThumb(String positiveIDCardThumb) {
        this.positiveIDCardThumb = positiveIDCardThumb;
    }

    @Column(name = "NEGATIVE_ID_CARD", length = 500)
    public String getNegativeIDCard() {
        return negativeIDCard;
    }

    public void setNegativeIDCard(String negativeIDCard) {
        this.negativeIDCard = negativeIDCard;
    }

    @Column(name = "NEGATIVE_ID_CARD_THUMB", length = 500)
    public String getNegativeIDCardThumb() {
        return negativeIDCardThumb;
    }

    public void setNegativeIDCardThumb(String negativeIDCardThumb) {
        this.negativeIDCardThumb = negativeIDCardThumb;
    }

    @Column(name = "USCC_CERT", length = 500)
    public String getUsccCert() {
        return usccCert;
    }

    public void setUsccCert(String usccCert) {
        this.usccCert = usccCert;
    }

    @Column(name = "USCC_CERT_THUMB", length = 500)
    public String getUsccCertThumb() {
        return usccCertThumb;
    }

    public void setUsccCertThumb(String usccCertThumb) {
        this.usccCertThumb = usccCertThumb;
    }

}
